package design_pattern.decorator.test1;

/**
 * 需要被装饰的类
 */
public class ComponentIpml2 implements Component {
    @Override
    public void dosomething() {
        System.out.println("被装饰的类2：dosomething");
    }
}
